<include file="__THEME__/common/header" />
<div class="box">
    <form action="{:U('Set/index')}" method="post">
	<div class="easyui-tabs" style="overflow:hidden;">
    	<volist name="group" id="group">
        <div title="{$group.text}" style="padding:10px;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
        <if condition="!empty($group['group'])">
        <volist name="group['group']" id="gp">
          <tr>
            <td class="label" width="30%">{$gp.name}：</td>
            <td>
            <eq name="gp['type']" value="text">
            <input type="text" value="{$gp.value}" name="sets[{$gp.id}]" style="width:250px;" class="input" />
            </eq>
            <eq name="gp['type']" value="textarea">
            <textarea name="sets[{$gp.id}]" style="width:300px; height:60px;">{$gp.value}</textarea>
            </eq>
            <eq name="gp['type']" value="password">
            <input type="password" value="{$gp.value}" name="sets[{$gp.id}]" style="width:250px;" class="input" />
            </eq>
            <eq name="gp['type']" value="manual">
            
            </eq>
            <eq name="gp['type']" value="select">
            <select name="sets[{$gp.id}]">
            <if condition="!empty($gp['value_list']) && is_array($gp['value_list'])">
            <volist name="gp['value_list']" id="list">
            <option value="{$list.value}" <if condition="$list['value'] eq $gp['value']">selected</if>>{$list.text}</option>
            </volist>
            </if>
            </select>
            </eq>
            <if condition="!empty($gp['desc'])">
            <p class="notice">{$gp.desc}</p>
            </if>
            </td>
          </tr>
        </volist>
        </if>
        <tr>
            <td class="label" style="border-bottom:none;">&nbsp;</td>
            <td style="border-bottom:none;">
            <input type="submit" value="保存设置" class="button" style="margin:10px auto;"/>
            </td>
          </tr>
        </table>
        </div>
        </volist>
    </div>
  	</form>
</div>
<include file="__THEME__/common/footer" />